import Vue from 'vue'
import Router from 'vue-router'
import Hello from '../page/Hello'
import friends from '../page/friends.vue'
import dongtai from '../page/dongtai.vue'
import sliders from '../page/sliders.vue'
Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      component: Hello
    },{
      path:'/friends',
      component:friends
    },{
      path:'/dongtai',
      component:dongtai
    },
    {
      path:'/sliders',
      component:sliders
    }
  ]
})
